package be.rubengerits.test.objects;

import be.rubengerits.test.JsonArray;
import be.rubengerits.test.JsonObject;
import be.rubengerits.test.JsonString;

public class Legs extends JsonObject {
	private TextValue distance;
	private TextValue duration;
	private JsonString endAddress;
	private Location endLocation;
	private JsonString startAddress;
	private Location startLocation;
	private JsonArray<Steps> steps;

	public TextValue getDistance() {
		return distance;
	}

	public void setDistance(TextValue distance) {
		this.distance = distance;
	}

	public TextValue getDuration() {
		return duration;
	}

	public void setDuration(TextValue duration) {
		this.duration = duration;
	}

	public JsonString getEndAddress() {
		return endAddress;
	}

	public void setEndAddress(JsonString endAddress) {
		this.endAddress = endAddress;
	}

	public Location getEndLocation() {
		return endLocation;
	}

	public void setEndLocation(Location endLocation) {
		this.endLocation = endLocation;
	}

	public JsonString getStartAddress() {
		return startAddress;
	}

	public void setStartAddress(JsonString startAddress) {
		this.startAddress = startAddress;
	}

	public Location getStartLocation() {
		return startLocation;
	}

	public void setStartLocation(Location startLocation) {
		this.startLocation = startLocation;
	}

	public JsonArray<Steps> getSteps() {
		return steps;
	}

	public void setSteps(JsonArray<Steps> steps) {
		this.steps = steps;
	}

}
